//HalfCircle.h
//Contains the class definition for the Shape type HalfCircle

#include "CircularShapes.h"
#include <iostream>
#include <string>

using namespace std;

#ifndef HALFCIRCLE_H
#define HALFCIRCLE_H

class HalfCircle : public CircularShapes
{
public:
	HalfCircle(const float &, const float &, float = 0.0);

	void setRadius(float);
	float getRadius() const;

	void setArea(float);
	float getArea() const;

	void setPerim(float);
	float getPerim() const;

	virtual float area() const;
	virtual float perimeter() const;
	virtual float volume() const;
	//virtual string shapetype() const;

	
private:
	float radius;
	float HC_area;
	float HC_perimeter;

};

#endif